package ed.hbut.supermarket1.service;

import ed.hbut.supermarket1.entity.Supplier;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface SupplierService {
    List<Supplier> gerAllSupplier();

    void addSupplier(Supplier supplier);

    Supplier getSupplierById(int id);

    void updataSupplier(Supplier supplier);

    void deleteSupplier(int id);
}
